<template>
    <el-input prefix-icon="el-icon-search" clearable v-model="valueData" :placeholder="placeholder" @blur="change" size="small"></el-input>
</template>

<script>
export default {
  name: "hr-header",
  mounted() {
    this.valueData = this.dataArray.value;
    this.placeholder = this.dataArray.placeholder;
  },
  props: ['dataArray'],
  data() {
    return {
      valueData: '',
      placeholder: ''
    }
  },
  methods: {
    change() {
        this.$emit('changeValue',this.valueData)
    }
  }
};
</script>

<style scoped>
.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-bottom: 1px solid lightgray;
  position: relative;
  top: 0px;
  right: 0px;
}

.header .el-input {
  width: 200px;
}

.header > div {
  display: inline-flex;
  margin: 0 1em;
  justify-content: space-between;
  align-items: center;
}

.header > div > div {
  margin-right: 1.23em;
}

.dialog-container >>> .el-input {
  width: 100%;
}
.el-tabs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.el-tabs >>> .el-tabs__item.is-active {
  color: #fff;
  background: #00b4a5;
}
.el-tabs >>> .el-tabs__item {
  border-radius: 2px !important;
  padding: 0 40px !important;
}
.el-tabs >>> .el-tabs__content{
    width: 100%;
}
.el-tab-span{
    display: flex;
    flex-direction:column;
    margin-bottom: 40px;
    padding-left: 30px;
}
.el-timeline-item{
    position: relative;
}
.el-timeline-item:nth-child(1){
   padding-top: 20px;
}
.el-timeline >>> .el-timeline-item__node--normal {
    left: 14px !important;
}
.el-timeline >>> .el-timeline-item__tail {
    left: 19px !important;
}
.el-timeline-active{
   background: #1BC489;
}

</style>
